package com.zkingsoft.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zkingsoft.dao.CostCountDao;
import com.zkingsoft.model.CostCount;
import com.zkingsoft.plugin.pojo.PaginationVO;
import com.zkingsoft.services.CostCountService;

@Service("CostCountService")
public class CostCountServiceImpl implements CostCountService{

	@Autowired
	CostCountDao costCountDao;
	
	@Override
	public List<CostCount> findInPage(CostCount costCount, PaginationVO pageVo) {
		return costCountDao.selectInPage(costCount, pageVo);
	}

	@Override
	public int findTotal(CostCount costCount) {
		return costCountDao.selectTotalRecord(costCount);
	}

	@Override
	public List<CostCount> findModel(CostCount costCount) {
		return costCountDao.selectModel(costCount);
	}
	
	
}
